package com.itboye.lottery.bean;

import java.util.List;

public class FollowOrderDetailBean {

    /**
     * follow_user : [{"id":"1","plan_id":"5","user_id":"2","lottery_id":"190","amount":"240","num":"2","create_time":"1534487348","nickname":"杭州博也","prize_money":"27521.28","commission":2752.128}]
     * follow_num : 1
     * amount : 240
     */

    private FollowUserEntity follow_user;
    /**
     * id : 5
     * user_id : 2
     * type : 0
     * lottery_type : 1
     * lottery_id : 239
     * category_id : 0
     * end_time : 1534582800
     * create_time : 1534583600
     * public_type : 2
     * reason : 强烈推荐
     * total_amount : 120
     * low_amount : 2
     * is_result : 1
     * commission : 0
     * lottery_result : 1
     * single_amount : 2
     * ensure_odds : 1.5
     * earn_rate : 0
     * win_amount : 100
     * plays : 20180818001,20180818002
     * plan : {"20180818001":{"3008":{"single":1,"goals":[12.5,"5.00","3.40","3.60"]}},"20180818002":{"3008":{"single":1,"goals":["7.5","3.60","3.00","3.80"]}}}
     * nickname : 杭州博也
     * head_pic : http://rrgc.8raw.com/Uploads/avatar/2018-07-25/5b582c1868f1c.jpg
     * ball_info : [{"num":"周六001","num_type":"001","b_date":"2018-08-18","l_id":"43","l_cn":"日本乙级联赛","h_id":"1016","h_cn":"水户蜀葵","a_id":"886","a_cn":"千叶市原","half_score":"0:0","final_score":"1:0","let_score":"-1","h_cn_score":"1","a_cn_score":"0","p_time":"20180818001"},{"num":"周六002","num_type":"002","b_date":"2018-08-18","l_id":"43","l_cn":"日本乙级联赛","h_id":"559","h_cn":"东京绿茵","a_id":"555","a_cn":"大分三神","half_score":"0:0","final_score":"0:0","let_score":"-1","h_cn_score":"0","a_cn_score":"0","p_time":"20180818002"}]
     * free_pass : 1,2
     * multiple : 20
     * earn_money : 24
     */

    private OrderInfoEntity orderInfo;

    public void setFollow_user(FollowUserEntity follow_user) {
        this.follow_user = follow_user;
    }

    public void setOrderInfo(OrderInfoEntity orderInfo) {
        this.orderInfo = orderInfo;
    }

    public FollowUserEntity getFollow_user() {
        return follow_user;
    }

    public OrderInfoEntity getOrderInfo() {
        return orderInfo;
    }

    public static class FollowUserEntity {
        private int follow_num;
        private String amount;
        /**
         * id : 1
         * plan_id : 5
         * user_id : 2
         * lottery_id : 190
         * amount : 240
         * num : 2
         * create_time : 1534487348
         * nickname : 杭州博也
         * prize_money : 27521.28
         * commission : 2752.128
         */

        private List<FollowUserEntity2> follow_user;

        public void setFollow_num(int follow_num) {
            this.follow_num = follow_num;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public void setFollow_user(List<FollowUserEntity2> follow_user) {
            this.follow_user = follow_user;
        }

        public int getFollow_num() {
            return follow_num;
        }

        public String getAmount() {
            return amount;
        }

        public List<FollowUserEntity2> getFollow_user() {
            return follow_user;
        }

        public static class FollowUserEntity2 {
            private String id;
            private String plan_id;
            private String user_id;
            private String lottery_id;
            private String amount;
            private String num;
            private String create_time;
            private String nickname;
            private String prize_money;
            private String commission;

            public void setId(String id) {
                this.id = id;
            }

            public void setPlan_id(String plan_id) {
                this.plan_id = plan_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public void setLottery_id(String lottery_id) {
                this.lottery_id = lottery_id;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public void setPrize_money(String prize_money) {
                this.prize_money = prize_money;
            }

            public void setCommission(String commission) {
                this.commission = commission;
            }

            public String getId() {
                return id;
            }

            public String getPlan_id() {
                return plan_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public String getLottery_id() {
                return lottery_id;
            }

            public String getAmount() {
                return amount;
            }

            public String getNum() {
                return num;
            }

            public String getCreate_time() {
                return create_time;
            }

            public String getNickname() {
                return nickname;
            }

            public String getPrize_money() {
                return prize_money;
            }

            public String getCommission() {
                return commission;
            }
        }
    }

    public static class OrderInfoEntity {
        private String id;
        private String user_id;
        private String type;
        private int lottery_type;
        private String lottery_id;
        private String category_id;
        private String end_time;
        private String create_time;
        private String public_type;
        private String reason;
        private String total_amount;
        private String low_amount;
        private String is_result;
        private String commission;
        private String lottery_result;
        private String single_amount;
        private String ensure_odds;
        private String earn_rate;
        private String win_amount;
        private String plays;
        private String plan;
        private String origin_num;
        private String nickname;
        private String head_pic;
        private String free_pass;
        private String multiple;
        private String earn_money;
        private String ticket_status;
        private String sn;

        public void setAll_money(String all_money) {
            this.all_money = all_money;
        }

        private String all_money;

        public String getOrigin_num() {
            return origin_num;
        }

        public void setOrigin_num(String origin_num) {
            this.origin_num = origin_num;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getTicket_status() {
            return ticket_status;
        }

        public void setTicket_status(String ticket_status) {
            this.ticket_status = ticket_status;
        }

        /**
         * num : 周六001
         * num_type : 001
         * b_date : 2018-08-18
         * l_id : 43
         * l_cn : 日本乙级联赛
         * h_id : 1016
         * h_cn : 水户蜀葵
         * a_id : 886
         * a_cn : 千叶市原
         * half_score : 0:0
         * final_score : 1:0
         * let_score : -1
         * h_cn_score : 1
         * a_cn_score : 0
         * p_time : 20180818001
         */


        private List<BallInfoEntity> ball_info;

        public void setId(String id) {
            this.id = id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setLottery_type(int lottery_type) {
            this.lottery_type = lottery_type;
        }

        public void setLottery_id(String lottery_id) {
            this.lottery_id = lottery_id;
        }

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setPublic_type(String public_type) {
            this.public_type = public_type;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public void setLow_amount(String low_amount) {
            this.low_amount = low_amount;
        }

        public void setIs_result(String is_result) {
            this.is_result = is_result;
        }

        public void setCommission(String commission) {
            this.commission = commission;
        }

        public void setLottery_result(String lottery_result) {
            this.lottery_result = lottery_result;
        }

        public void setSingle_amount(String single_amount) {
            this.single_amount = single_amount;
        }

        public void setEnsure_odds(String ensure_odds) {
            this.ensure_odds = ensure_odds;
        }

        public void setEarn_rate(String earn_rate) {
            this.earn_rate = earn_rate;
        }

        public void setWin_amount(String win_amount) {
            this.win_amount = win_amount;
        }

        public void setPlays(String plays) {
            this.plays = plays;
        }

        public void setPlan(String plan) {
            this.plan = plan;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public void setHead_pic(String head_pic) {
            this.head_pic = head_pic;
        }

        public void setFree_pass(String free_pass) {
            this.free_pass = free_pass;
        }

        public void setMultiple(String multiple) {
            this.multiple = multiple;
        }

        public void setEarn_money(String earn_money) {
            this.earn_money = earn_money;
        }

        public void setBall_info(List<BallInfoEntity> ball_info) {
            this.ball_info = ball_info;
        }

        public String getId() {
            return id;
        }

        public String getUser_id() {
            return user_id;
        }

        public String getType() {
            return type;
        }

        public int getLottery_type() {
            return lottery_type;
        }

        public String getLottery_id() {
            return lottery_id;
        }

        public String getCategory_id() {
            return category_id;
        }

        public String getEnd_time() {
            return end_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public String getPublic_type() {
            return public_type;
        }

        public String getReason() {
            return reason;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public String getLow_amount() {
            return low_amount;
        }

        public String getIs_result() {
            return is_result;
        }

        public String getCommission() {
            return commission;
        }

        public String getLottery_result() {
            return lottery_result;
        }

        public String getSingle_amount() {
            return single_amount;
        }

        public String getEnsure_odds() {
            return ensure_odds;
        }

        public String getEarn_rate() {
            return earn_rate;
        }

        public String getWin_amount() {
            return win_amount;
        }

        public String getPlays() {
            return plays;
        }

        public String getPlan() {
            return plan;
        }

        public String getNickname() {
            return nickname;
        }

        public String getHead_pic() {
            return head_pic;
        }

        public String getFree_pass() {
            return free_pass;
        }

        public String getMultiple() {
            return multiple;
        }

        public String getEarn_money() {
            return earn_money;
        }

        public List<BallInfoEntity> getBall_info() {
            return ball_info;
        }

        public String getAll_money() {
            return all_money;
        }
    }
}
